package com.situ.mall.test;
// subclass:子类
// The type Student cannot subclass the final class Person
public class Student extends Person{
	// 实例变量、成员变量
	private String name;
	// 成员对象
	private Banji banji = new Banji();
	private static String gender;

	public Student() {
		super();
		System.out.println("Student.Student()");
	}
	
	public Student(String name) {
		super();
		this.name = name;
	}



	// Cannot override the final method from Person
	@Override
	public void show() {
		System.out.println("Student.show()");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Banji getBanji() {
		return banji;
	}

	public void setBanji(Banji banji) {
		this.banji = banji;
	}

	public static String getGender() {
		return gender;
	}

	public static void setGender(String gender) {
		Student.gender = gender;
	}
	
	
}
